<%--
  Created by IntelliJ IDEA.
  User: 十一
  Date: 2021/11/17
  Time: 10:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传页面</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/file/uploadFile" method="post" enctype="multipart/form-data">
        昵称：<input type="text" name="nickName"><br>
        头像：<input type="file" name="uploadImg"><br>
        <button type="submit">提交</button>
    </form>
    <%--alt
        功能一 当图片加载失败时显示
        功能二 用于SEO爬虫搜录--%>
    <img src="http://localhost/abb/20211118/553963e980d2471ca0a16742fcbcf26d.jpg" alt="信工大校草">
    <%--富文本编辑器--%>
    <a download href="http://localhost/abb/20211118/64c8a444ba5840c0ba17c445c916dd7a.txt">点击下载文件</a>
</body>
</html>
